/*
 * @Descripttion:
 * @version:
 * @Author: 穆宏宇
 * @Date: 2023-11-09 11:14:34
 * @LastEditors: 穆宏宇
 * @LastEditTime: 2023-11-09 11:14:34
 */

import api from './index'


//查询小区列表
export const selectHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouseBlock/selectHouseBlock`
	return api.get(url,data)
}

//新增小区列表
export const insertHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouseBlock/insertHouseBlock`
	return api.post(url,data)
}

//修改小区列表
export const editHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouseBlock/editHouseBlock`
	return api.put(url,data)
}

//删除小区列表
export const deleteHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouseBlock/deleteHouseBlock/`+data.id
	return api.delete(url,data)
}





//查询楼列表
export const selectBuildingBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigBuilding/select`
	return api.get(url,data)
}

//新增楼列表
export const insertBuildingBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigBuilding/insert`
	return api.post(url,data)
}

//修改楼列表
export const editBuildingBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigBuilding/edit`
	return api.put(url,data)
}

//删除楼列表
export const deleteBuildingBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigBuilding/delete/`+data.id
	return api.delete(url,data)
}





//查询房间列表
export const selectConfigHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouse/select`
	return api.get(url,data)
}

//新增房间列表
export const insertConfigHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouse/insert`
	return api.post(url,data)
}

//修改房间列表
export const editConfigHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouse/edit`
	return api.put(url,data)
}

//删除房间列表
export const deleteConfigHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigHouse/delete/`+data.id
	return api.delete(url,data)
}





//查询业主列表
export const selectOwnerUserBlock = (data) => {
	const url = `/special/dictionary/baseconfig/OwnerUser/select`
	return api.get(url,data)
}

//新增业主列表
export const insertOwnerUserBlock = (data) => {
	const url = `/special/dictionary/baseconfig/OwnerUser/insert`
	return api.post(url,data)
}

//修改业主列表
export const editOwnerUserBlock = (data) => {
	const url = `/special/dictionary/baseconfig/OwnerUser/edit`
	return api.put(url,data)
}

//删除业主列表
export const deleteOwnerUserBlock = (data) => {
	const url = `/special/dictionary/baseconfig/OwnerUser/delete/`+data.id
	return api.delete(url,data)
}



// 业主房屋对照关系
export const selectByOwnerIdBlock = (data) => {
	const url = `/special/dictionary/baseconfig/OwnerUser/selectByOwnerId/`+data.ownerId
	return api.get(url,data)
}

// 插入房屋对照关系
export const insertOwnerHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/OwnerUser/insertOwnerHouse/`
	return api.post(url,data)
}

// 删除房屋对照关系
export const deleteOwnerHouseBlock = (data) => {
	const url = `/special/dictionary/baseconfig/OwnerUser/deleteOwnerHouse/`+data.id
	return api.delete(url,data)
}



// 收费项目管理查询
export const selectConfigFeeItemBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigFeeItem/select/`
	return api.get(url,data)
}

// 收费项目管理新增
export const insertConfigFeeItemBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigFeeItem/insert/`
	return api.post(url,data)
}

// 收费项目管理编辑
export const editConfigFeeItemBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigFeeItem/edit/`
	return api.put(url,data)
}

// 收费项目管理删除
export const deleteConfigFeeItemBlock = (data) => {
	const url = `/special/dictionary/baseconfig/ConfigFeeItem/delete/`+data.id
	return api.delete(url,data)
}




// 报修管理查询
export const selectConfigFlowRepairBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowRepair/select/`
	return api.get(url,data)
}

// 报修管理新增
export const insertConfigFlowRepairBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowRepair/insert/`
	return api.post(url,data)
}

// 报修管理编辑
export const editConfigFlowRepairBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowRepair/edit/`
	return api.put(url,data)
}

// 报修管理删除
export const deleteConfigFlowRepairBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowRepair/delete/`+data.id
	return api.delete(url,data)
}




// 投诉管理查询
export const selectConfigFlowComplaintsBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowComplaints/select/`
	return api.get(url,data)
}

// 投诉管理新增
export const insertConfigFlowComplaintsBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowComplaints/insert/`
	return api.post(url,data)
}

// 投诉管理编辑
export const editConfigFlowComplaintsBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowComplaints/edit/`
	return api.put(url,data)
}

// 投诉管理删除
export const deleteConfigFlowComplaintsBlock = (data) => {
	const url = `/special/dictionary/baseconfig/FlowComplaints/delete/`+data.id
	return api.delete(url,data)
}







// 缴费管理查询
export const selectConfigPaymentBillBlock = (data) => {
	const url = `/special/dictionary/baseconfig/PaymentBill/select/`
	return api.get(url,data)
}

// 缴费管理新增
export const insertConfigPaymentBillBlock = (data) => {
	const url = `/special/dictionary/baseconfig/PaymentBill/insert/`
	return api.post(url,data)
}

// 缴费管理编辑
export const editConfigPaymentBillBlock = (data) => {
	const url = `/special/dictionary/baseconfig/PaymentBill/edit/`
	return api.put(url,data)
}

// 缴费管理删除
export const deleteConfigPaymentBillBlock = (data) => {
	const url = `/special/dictionary/baseconfig/PaymentBill/delete/`+data.id
	return api.delete(url,data)
}





// 巡检（日）查询
export const flowInspectionDay = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionDay/select/`
	return api.get(url,data)
}

// 巡检（日）新增
export const insertFlowInspectionDay = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionDay/insert`
	return api.post(url,data)
}

// 巡检（日）编辑
export const editFlowInspectionDay = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionDay/edit/`
	return api.put(url,data)
}

// 巡检（日）删除
export const deleteFlowInspectionDay = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionDay/delete/`+data.id
	return api.delete(url,data)
}








// 巡检（月）查询
export const flowInspectionMonth = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionMonth/select/`
	return api.get(url,data)
}

// 巡检（月）新增
export const insertFlowInspectionMonth = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionMonth/insert`
	return api.post(url,data)
}

// 巡检（月）编辑
export const editFlowInspectionMonth = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionMonth/edit/`
	return api.put(url,data)
}

// 巡检（月）删除
export const deleteFlowInspectionMonth = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionMonth/delete/`+data.id
	return api.delete(url,data)
}







// 巡检（周）查询
export const flowInspectionWeek = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionWeek/select/`
	return api.get(url,data)
}

// 巡检（周）新增
export const insertFlowInspectionWeek = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionWeek/insert`
	return api.post(url,data)
}

// 巡检（周）编辑
export const editFlowInspectionWeek = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionWeek/edit/`
	return api.put(url,data)
}

// 巡检（周）删除
export const deleteFlowInspectionWeek = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionWeek/delete/`+data.id
	return api.delete(url,data)
}




// 警卫巡查 (查询)
export const flowInspectionGuard = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionGuard/select/`
	return api.get(url,data)
}

// 警卫巡查 (新增)
export const insertFlowInspectionGuard = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionGuard/insert/`
	return api.post(url,data)
}

// 警卫巡查 (编辑)
export const editFlowInspectionGuard = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionGuard/edit/`
	return api.put(url,data)
}

// 警卫巡查 (删除) 
export const deleteFlowInspectionGuard = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionGuard/delete/`+ data.id
	return api.delete(url,data)
} 

// 巡检（半年）查询
export const flowInspectionHalfyear = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionHalfyear/select/`
	return api.get(url,data)
}

// 巡检（半年）新增
export const insertFlowInspectionHalfyear = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionHalfyear/insert`
	return api.post(url,data)
}

// 巡检（半年）编辑
export const editFlowInspectionHalfyear = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionHalfyear/edit/`
	return api.put(url,data)
}

// 巡检（半年）删除
export const deleteFlowInspectionHalfyear = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionHalfyear/delete/`+data.id
	return api.delete(url,data)
}


// 工作日记
export const selectRbb = (data) => {
	const url = `/special/dictionary//baseconfig/FlowInspectionDay/selectRbb/`
	return api.get(url,data)
}





// 维修查询 、回访
export const flowRepair = (data) => {
	const url = `/special/dictionary/baseconfig/FlowRepair/select/`
	return api.get(url,data)
}


// 费率查询
export const selectFeeByHouseName = (data) => {
	const url = `/special/dictionary/baseconfig/PaymentBill/selectFeeByHouseName`
	return api.get(url,data)
}


// 当日收费统计查询
export const sfSelectReport = (data) => {
	const url = `/special/dictionary/baseconfig/PaymentBill/selectReport/`
	return api.get(url,data)
}

// 当日维修统计查询
export const wxSelectReport = (data) => {
	const url = `/special/dictionary/baseconfig/FlowRepair/selectReport/`
	return api.get(url,data)
}

// 当日设备巡查查询
export const sbSelectReport = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionDay/selectReport/`
	return api.get(url,data)
}

// 当日安全巡查查询
export const aqSelectReport = (data) => {
	const url = `/special/dictionary/baseconfig/FlowInspectionGuard/selectReport/`
	return api.get(url,data)
}
